[INFO] cloning repository https://github.com/Anxys/rusty-weather
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Anxys/rusty-weather" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnxys%2Frusty-weather", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnxys%2Frusty-weather'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] af4a215da30506b41992c1945fa3ea102b5bdbcc
[INFO] checking Anxys/rusty-weather against master#af3c6e733a40e671550e0f0f5aeecaa13772ba56 for pr-74989
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnxys%2Frusty-weather" "/workspace/builds/worker-9/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Anxys/rusty-weather on toolchain af3c6e733a40e671550e0f0f5aeecaa13772ba56
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Anxys/rusty-weather
[INFO] finished tweaking git repo https://github.com/Anxys/rusty-weather
[INFO] tweaked toml for git repo https://github.com/Anxys/rusty-weather written to /workspace/builds/worker-9/source/Cargo.toml
[INFO] crate git repo https://github.com/Anxys/rusty-weather already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] error: the lock file /workspace/builds/worker-9/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] [stderr]     Updating git repository `https://github.com/kbknapp/clap-rs`
[INFO] [stderr]     Updating git repository `https://github.com/hyperium/hyper.git`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2959d23b3a58ef1a80855fbaec0cb2c0acc5671a435e43d3fe43f763c1e3e996
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "2959d23b3a58ef1a80855fbaec0cb2c0acc5671a435e43d3fe43f763c1e3e996", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2959d23b3a58ef1a80855fbaec0cb2c0acc5671a435e43d3fe43f763c1e3e996", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2959d23b3a58ef1a80855fbaec0cb2c0acc5671a435e43d3fe43f763c1e3e996", kill_on_drop: false }`
[INFO] [stdout] 2959d23b3a58ef1a80855fbaec0cb2c0acc5671a435e43d3fe43f763c1e3e996
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 72fc58ceef1bc0febcc6edc7381982fa96076f27354933ed73f83bfe9c521631
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "72fc58ceef1bc0febcc6edc7381982fa96076f27354933ed73f83bfe9c521631", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.77
[INFO] [stderr]    Compiling syn v1.0.40
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling winapi-build v0.1.1
[INFO] [stderr]     Checking bytes v0.5.6
[INFO] [stderr]    Compiling pin-project-internal v0.4.23
[INFO] [stderr]     Checking fnv v1.0.7
[INFO] [stderr]     Checking futures-core v0.3.5
[INFO] [stderr]     Checking itoa v0.4.6
[INFO] [stderr]     Checking hashbrown v0.9.0
[INFO] [stderr]     Checking winapi v0.2.8
[INFO] [stderr]     Checking pin-project-lite v0.1.7
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]     Checking futures-sink v0.3.5
[INFO] [stderr]     Checking unicode-width v0.1.8
[INFO] [stderr]     Checking try-lock v0.2.3
[INFO] [stderr]     Checking utf8-ranges v0.1.3
[INFO] [stderr]     Checking vec_map v0.8.2
[INFO] [stderr]     Checking tower-service v0.3.0
[INFO] [stderr]     Checking os_str_bytes v2.3.2
[INFO] [stderr]     Checking regex-syntax v0.3.9
[INFO] [stderr]     Checking termcolor v1.1.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.21
[INFO] [stderr]    Compiling indexmap v1.6.0
[INFO] [stderr]     Checking tracing-core v0.1.16
[INFO] [stderr]     Checking futures-channel v0.3.5
[INFO] [stderr]     Checking textwrap v0.12.1
[INFO] [stderr]    Compiling kernel32-sys v0.2.2
[INFO] [stderr]     Checking http v0.2.1
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]     Checking tracing v0.1.19
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]     Checking net2 v0.2.35
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking memchr v0.1.11
[INFO] [stderr]     Checking thread-id v2.0.0
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking socket2 v0.3.15
[INFO] [stderr]     Checking thread_local v0.2.7
[INFO] [stderr]     Checking aho-corasick v0.5.3
[INFO] [stderr]     Checking mio v0.6.22
[INFO] [stderr]     Checking regex v0.1.80
[INFO] [stderr]     Checking tokio v0.2.22
[INFO] [stderr]     Checking http-body v0.3.1
[INFO] [stderr]     Checking tokio-util v0.3.1
[INFO] [stderr]    Compiling clap_derive v3.0.0-beta.1 (https://github.com/kbknapp/clap-rs#03c11607)
[INFO] [stderr]     Checking pin-project v0.4.23
[INFO] [stderr]     Checking futures-util v0.3.5
[INFO] [stderr]     Checking clap v3.0.0-beta.1 (https://github.com/kbknapp/clap-rs#03c11607)
[INFO] [stderr]     Checking h2 v0.2.6
[INFO] [stderr]     Checking hyper v0.13.7 (https://github.com/hyperium/hyper.git#66fc127c)
[INFO] [stderr]     Checking weather v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `hyper::header::Connection`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use hyper::header::Connection;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^ no `Connection` in `header`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `hyper::header::Connection`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use hyper::header::Connection;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^ no `Connection` in `header`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `Arg<'_>` in the current scope
[INFO] [stdout]   --> src/main.rs:18:19
[INFO] [stdout]    |
[INFO] [stdout] 18 |         .arg(Arg::with_name("METRIC")
[INFO] [stdout]    |                   ^^^^^^^^^
[INFO] [stdout]    |                   |
[INFO] [stdout]    |                   function or associated item not found in `Arg<'_>`
[INFO] [stdout]    |                   help: there is an associated function with a similar name: `get_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `Arg<'_>` in the current scope
[INFO] [stdout]   --> src/main.rs:23:19
[INFO] [stdout]    |
[INFO] [stdout] 23 |         .arg(Arg::with_name("CODE")
[INFO] [stdout]    |                   ^^^^^^^^^
[INFO] [stdout]    |                   |
[INFO] [stdout]    |                   function or associated item not found in `Arg<'_>`
[INFO] [stdout]    |                   help: there is an associated function with a similar name: `get_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `Arg<'_>` in the current scope
[INFO] [stdout]   --> src/main.rs:18:19
[INFO] [stdout]    |
[INFO] [stdout] 18 |         .arg(Arg::with_name("METRIC")
[INFO] [stdout]    |                   ^^^^^^^^^
[INFO] [stdout]    |                   |
[INFO] [stdout]    |                   function or associated item not found in `Arg<'_>`
[INFO] [stdout]    |                   help: there is an associated function with a similar name: `get_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `Arg<'_>` in the current scope
[INFO] [stdout]   --> src/main.rs:23:19
[INFO] [stdout]    |
[INFO] [stdout] 23 |         .arg(Arg::with_name("CODE")
[INFO] [stdout]    |                   ^^^^^^^^^
[INFO] [stdout]    |                   |
[INFO] [stdout]    |                   function or associated item not found in `Arg<'_>`
[INFO] [stdout]    |                   help: there is an associated function with a similar name: `get_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:37:30
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let mut res = client.get(&url)
[INFO] [stdout]    |                              ^^^^ expected struct `Uri`, found `&String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `header` found for struct `hyper::client::ResponseFuture` in the current scope
[INFO] [stdout]   --> src/main.rs:38:10
[INFO] [stdout]    |
[INFO] [stdout] 38 |         .header(Connection::close())
[INFO] [stdout]    |          ^^^^^^ method not found in `hyper::client::ResponseFuture`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::io::Read;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `weather`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:37:30
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let mut res = client.get(&url)
[INFO] [stdout]    |                              ^^^^ expected struct `Uri`, found `&String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `header` found for struct `hyper::client::ResponseFuture` in the current scope
[INFO] [stdout]   --> src/main.rs:38:10
[INFO] [stdout]    |
[INFO] [stdout] 38 |         .header(Connection::close())
[INFO] [stdout]    |          ^^^^^^ method not found in `hyper::client::ResponseFuture`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::io::Read;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "72fc58ceef1bc0febcc6edc7381982fa96076f27354933ed73f83bfe9c521631", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "72fc58ceef1bc0febcc6edc7381982fa96076f27354933ed73f83bfe9c521631", kill_on_drop: false }`
[INFO] [stdout] 72fc58ceef1bc0febcc6edc7381982fa96076f27354933ed73f83bfe9c521631
